<template>
  <div>
    <div class="login-conter">
      <!-- re-box -->
      <span class="loign-title" @click="box">
        <p>没有账号，去</p>
        <h2>注册</h2>
      </span>
      <div class="ts"></div>
      <!-- 输入正确出现图片 -->
      <div class="index-register">
        <input type="text" class="tex" placeholder="请输入手机号" />
        <div><i class="iconfont icon-zhengque"></i></div>
        <input type="password" class="pwd" placeholder="密码" />
        <div><i class="iconfont icon-zhengque"></i></div>
        <input type="password" class="conpwd" placeholder="确认密码" />
        <div><i class="iconfont icon-zhengque"></i></div>
      </div>
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "zc",
  methods: {
    box() {
      this.$emit("ret");
    },
  },
};
</script>

